package com.iflysse.services;

import com.iflysse.pojo.bo.CommonBoResp;
import com.iflysse.pojo.bo.req.TeacherIdBoReq;
import com.iflysse.pojo.bo.req.TeacherInfoBoReq;
import com.iflysse.pojo.bo.req.UserHeadImageBoReq;
import com.iflysse.pojo.bo.resp.TeacherInfoBoRes;

import java.sql.SQLException;

public interface TeacherService {
    /**
     * 根据老师编号查询老师信息
     * @param teacherIdBoReq 老师编号
     * @return
     */
    TeacherInfoBoRes getTeacherInfoByTeacherId(TeacherIdBoReq teacherIdBoReq) throws SQLException;

    /**
     * 修改老师信息
     * @param teacherInfoBoReq
     * @return
     */
    CommonBoResp updateTeacher(TeacherInfoBoReq teacherInfoBoReq) throws SQLException;

    /**
     * 修改老师的头像
     * @param userHeadImageBoReq
     * @return
     */
    CommonBoResp updateHeadImage4Teacher(UserHeadImageBoReq userHeadImageBoReq) throws SQLException;
}
